| Script
|
Description
|
Documentation
|
| Source Data |
Type
invalid path.
Navigate
to location with no SAS datasets.
Path
name that is longer than 200 characters.
Use
[...] path navigation.
|
Instructions
1
|
| Data Sets |
List
of datasets match what is in the selected path.
Verify
preview button with a separate PROC PRINT.
Verify
select all button toggle.
|
Instructions
2
|
|
Metadata Database |
The [...] library manager returns
the last libname selected
Default to METADB for dataset name.
|
Instructions
3
|
|
Output Report
|
Verify default output file is metadb.html
in current default directory.
Verify name that is long over 200
characters. Proper warning message
is presented.
Verify the [...] returns the correct
path
|
Instructions 4
|
| OK/Cancel |
OK
button applies all selected parameters.
Memory
of all fields is retained.
Cancel
does not apply logic.
|
Instructions 5
|
| Save Code |
Program
is saved with proper comments
Generated
program is submitted and results verified |
Instructions 6 |
| Search |
Default source data path is same
with main screen
List of datasets is what has been
registered. Verify with PROC PRINT
of METADB.
Search criteria with special characters
such as comma and quotes.
Verify case insensitive and case
sensitive searches.
|
Instructions 7 |
-
Create the following path if
it does not already exist.
c:\temp\cdiscbuilder\input
c:\temp\cdiscbuilder\source
c:\temp\cdiscbuilder\output
-
Submit the following program:
libname input 'C:\temp\cdiscbuilder\input';
libname source 'C:\temp\cdiscbuilder\source';
libname output 'C:\temp\cdiscbuilder\output';
data testlib.shoes;
set sashelp.shoes;
run;
data testlib.company;
set sashelp.company;
run;
data testlib.manage;
set sashelp.manage;
run;
data testlib.ae(label="Adverse Event");
set sashelp.ae;
run;
-
At the Main screen, select Source
Data as 'C:\temp\cdiscbuilder\input' and Data
Sets as AE.
-
Click on Metadata icon to open
Metadata screen.
-
Verify that Source Data is 'C:\temp\cdiscbuilder\input'
and Data Sets as AE.
-
Type an invalid path such as
'C:\invalid' in Source Data textbox and hit
Enter key.
-
Verify that there is a warning
message box as the following:
-
Click OK to close the message
box. Verify that Datasets list box is empty.
-
Type 'C:\temp\cdiscbuilder\input'
in Source Data textbox and hit Enter key.
-
Verify that all datasets in
'C:\temp\cdiscbuilder\input' are inserted in
Datasets list box.
-
Type an empty directory such
as 'C:\temp\empty' in Source Data textbox and
hit Enter key.
-
Verify that Datasets list box
is empty.
-
Create a directory that is longer
than 200 characters such as:
C:\temp\This
is a test of long path. This is a test of long
path. This is a test of long path. This is a
test of long path. This is a test of long path.
This is a test of long path. This is a test
of long path. This is a test of long path.
-
Type this path in Source Data
textbox and hit Enter key. Verify that there
is no error.
-
Click on [...] button next to
Source Data textbox.
-
Select 'C:\temp\cdiscbuilder\input'
path and then click OK.
-
Verify that Datasets list box
is filled with all datasets in 'C:\temp\cdiscbuilder\input'.
-
Click on [...] button next to
Source Data textbox.
-
Select the path 'C:\temp\This
is a test of long path. This is a test of long
path. This is a test of long path. This is a
test of long path. This is a test of long path.
This is a test of long path. This is a test
of long path. This is a test of long path.'.
-
Click OK button. Verify that
there is a warning message as the following:
-
Click on Metadata icon to open
Metadata screen.
-
At the metadata screen, type
'C:\temp\cdiscbuilder\input' in Source Data
textbox and hit Enter key.
-
Verify that all datasets in
'C:\temp\cdiscbuilder\input' are inserted in
Datasets list box.
-
Select AE from the Datasets
list box.
-
Verify that Output Report textbox
has default value file metadb.html with the
input path.
-
Input a path that is more than
200 characters. Verify that could not input
more that 200 charecters in the Output Report
textbox.
-
Input 'C:\temp\cdiscbuilder\output\metadb.html'
in Output Report textbox.
-
Click on [...] button next to
the Output Report textbox.
-
Verify that Save As dialog box
is displayed. Verify that the path of Save As
dialog box is 'C:\temp\cdiscbuilder\outout'.
-
Select 'C:\temp\cdiscbuilder\metadb.html'.
Click OK button.
-
Verify that Output Report textbox
has the value 'C:\temp\cdiscbuilder\metadb.html'.
-
Click on Metadata icon to open
Metadata screen.
-
At the metadata screen, type
'C:\temp\cdiscbuilder\input' in Source Data
textbox and hit Enter key.
-
Verify that all datasets in
'C:\temp\cdiscbuilder\input' are inserted in
Datasets list box.
-
Select AE from the Datasets
list box.
-
Select OUTPUT.metadb in Metadata
Database.
-
Select Update in the Task combo
box.
-
Input 'C:\temp\cdiscbuilder\output\metadb.html'
in Output Report textbox.
-
Click OK button to apply metadata
logic.
-
At the Result Status dialog.
Verify that there is no error message.
-
Click Back to return to Metadata
screen.
-
Verify that there is a message
as the following:
-
Click Cancel button to return
to them main screen.
-
Click Metadata to open Metadata
screen. Verify that all parameters retain.
-
Click on Metadata icon to open
Metadata screen.
-
Perform
Instructions 5
with dataset COMPANY.
-
At the Metadata screen, click
Search button. Verify that METADATA Search screen
is displayed.
-
Verify that Source data textbox
has the same with the path that library OUTPUT
point to.
-
Open SAS program and submit
the following code:
libname output 'C:\temp\cdiscbuiler\output';
proc print data=output.metadb;
run;
-
Verify that there are 2 values
AE and COMPANY at column Memname of the result.
-
Verify that there are 2 values
AE and COMPANY in the Datasets list box.
-
Input special characters such
as: !@#$%^&*()<>?,./;:'" into Search
Criteria textbox.
-
Click OK button. Verify that
there is a warning message box as the following:
The field (Search Criteria) contains some
special characters.
-
Click OK to close the message
box.
-
Select dataset COMPANY in Datasets
list box.
-
Type 'DEPTH' in Search Criteria
textbox.
-
Click OK button. Verify that
there is a row that has string 'DEPTH' in the
result.
-
Close the result. Type 'depth'
in Search Criteria textbox and check Case Sensitive
checkbox.
-
Click OK button. Verify
that there is no row that match string 'depth'
in the result.